local skill = fk.CreateSkill{
  name = "iberia__dangxian"
}

Fk:loadTranslationTable{
  [skill.name] = "当先",
  [":"..skill.name] = "准备阶段结束后，你进行一个出牌阶段。",
}

skill:addEffect(fk.EventPhaseEnd, {
  anim_type = "special",
  can_trigger = function (self, event, target, player, data)
    return player:hasSkill(skill.name) and player == target
    and player.phase == Player.Start
  end,
  on_cost = Util.TrueFunc,
  on_use = function (self, event, target, player, data)
    player:gainAnExtraPhase(Player.Play, skill.name, true)
  end
})

return skill
